package qj.util.string;

public class Range {
	private int from;
	private int to;
	private Object data;
	
	public Range(int from, int to) {
		super();
		this.from = from;
		this.to = to;
	}
	
	public String toString() {
		return "[" + from + ", " + to + "]";
	}

	public Range() {
	}
	public int getFrom() {
		return from;
	}
	public void setFrom(int from) {
		this.from = from;
	}
	public int getTo() {
		return to;
	}
	public void setTo(int to) {
		this.to = to;
	}

	public Object getData() {
		return data;
	}

	public void setData(Object data) {
		this.data = data;
	}
}
